package day0905;

public class Dog extends Animal {
    Dog(){
    }
    Dog(String name,int age,String color){
        super(name,age,color);
    }
    void eat(){
        System.out.println("姓名为"+name+",年龄为"+age+",颜色为"+color+"的狗狗正在吃骨头");
    }
    void lookHome(){
        System.out.println("姓名为"+name+",年龄为"+age+",颜色为"+color+"的狗狗在看家");
    }

}
